how to write switch case in c programming